Barack Obama criticises Republicans over Syrian refugees