Rosie Perez leaving 'The View'