Multiple specifications radio-frequency integrated circuit design with automatic template-driven layout retargeting