Three-variable Mahler measures and special values of L-functions of modular forms