Experimental and theoretical investigations of the photochemistry of styrene and the creation and characterisation of shaped femtosecond ultraviolet laser pulses