Star Formation and Feedback in Simulations of Galaxy Formation