The UK maritime agency has reported a rise in attacks on vessels in the vital Strait of Hormuz.