Effect of surface attractive strength on structural transitions of a confined HP lattice protein