Singularly perturbed Neumann problems with potentials