Weak Phase Retrieval and Phaseless Reconstruction