Optimal designs for space-time linear precoders and decoders