Use of complete temporal basis in polarimeters based on photoelastic modulators