Volume and surface symmetry energy coefficients from photoabsorption cross sections