A theoretical calculation of the piezoresistivity and magnetoresistivity in p-type semiconducting diamond films