Cardiff City's Callum Robinson scored a brace in under five minutes in their South Wales derby against Swansea.