Laser beam that travels at speed of light to be fitted on Royal Navy ships by 2027