Prospects of photo-sensitive indium phosphide based top-mounted and flip-chip IMPATT oscillators for application in terahertz regime