Sergio Perez warns of safety risks after Baku near-miss