Obama reveals support for same-sex marriage