Text this: Application of homotopy-perturbation method to Klein–Gordon and sine-Gordon equations