President Obama voices support for same-sex marriage