Calculations of charge-transfer transition energies and spectroscopic properties of a molecular crystal: methylbacteriopheophorbide a