Rigorous vectorial modelling of microresonators