Supreme Court upholds right to record police in public places