One-way propagation of bulk states and robust edge states in photonic crystals with broken inversion and time-reversal symmetries