Supreme Court rules against Obama in contraception case