Observation of Landau levels and chiral edge states in photonic crystals through pseudomagnetic fields induced by synthetic strain