Russian President Vladimir Putin has taken part in a traditional Orthodox ritual to mark the feast of Epiphany.