Application of microwave reflectometry for plasma density diagnostics in a reversed-field pinch machine