Deep search for hydrogen peroxide toward pre- and protostellar objects