Non-iterative phase retrieval by phase modulation through a single parameter