Lea Michele apologizes for behaviour on set of 'Glee'