An auxiliary equation technique and exact solutions for a nonlinear Klein–Gordon equation