Studies of reaction intermediates towards the synthesis of xanthene derivatives and development of safer catalytic systems for protection of carbonyl group