Intergalactic stellar populations in intermediate redshift clusters