Video circulated on social media showed police officers arresting two black men as they sat in a Starbucks coffee shop in Philadelphia, in an event that has sparked accusations of racial profiling.