Equilibrium Beach Profiles: Effect of Refraction