Effects of laser and plasma parameters on shock wave generation and acceleration of protons