Advanced manufacturing of optical and electronic devices using novel lithographic and contact transfer techniques