Numerical and experimental investigations of dependence of photoacoustic signals from gold nanoparticles on the optical properties