Relativistic modified augmented plane wave method and its application to the electronic structure of gold and platinum