Chemical beam epitaxy of InP on planar and non-planar substrates