Design of optimal FIR raised-cosine filters