Obama: 'There will be costs for any military intervention in Ukraine'