Transverse momentum spectra and elliptic flow in ideal hydrodynamics and geometric scaling