how long does it take to become an electrical engineer