Homodyne coherent detection of ASK and PSK signals performed by a subcarrier optical phase-locked loop