Lewis Hamilton has been given a penalty for having caused a collision with Pastor Maldonado in the Monaco Grand Prix.