Isometric immersions of warped products