Anisotropic reorientation of perylene and 3,9-dibromoperylene in glycerol: fluorescence anisotropy decay and quantum-mechanical study