The response of plastic dosimeters to gamma rays and electrons at high absorbed dose rates