Microgrid Optimal Energy Scheduling Considering Neural Network based Battery Degradation