Simple photonics-based microwave frequency and power measurement system