Optimal energy transfer in band-limited communication channels