Linear precoding for multicarrier and multicast PLC