On-chip generation of non-classical states of light via quantum dots coupled to photonic crystal nanocavities