Rigid modules over preprojective algebras