Theoretical calculations of nuclear spin coupling of phosphorus to carbon and hydrogen by the finite perturbation method