Non-iterative method for phase retrieval and coherence characterization by focus variation using a fixed star-shaped mask