Spatially periodic steady-state solutions of a reversible system at strong and subharmonic resonances