The influence of rigid matrices on the processes of deactivation of excited bacteriochlorophyll c